//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    isLoading:false,
    userName:"",

  },
  formSubmit: function (e) {
    console.log('form发生了submit事件，携带数据为：', e.detail.value)
  },
  login:function(e){
    this.setData({ isLoading: true})
  },
  userNameinput(e){
    this.setData({userName:e.detail.value})
  }

})
